//
//  JBWMainBgView.m
//  JBWDSK
//
//  Created by 崔志伟 on 2018/7/26.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import "JBWMainBgView.h"

@implementation JBWMainBgView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self  = [super initWithFrame:frame]) {
        self.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.8];
        self.layer.cornerRadius = 8.f;
        self.layer.masksToBounds = YES;
        self.layer.borderWidth = 0.5f;
        self.layer.borderColor = [UIColor orangeColor].CGColor;
        self.center = CGPointMake(JBW_SCREEN_WIDTH/2.0, JBW_SCREEN_HEIGHT/2.0);
    }
    return self;
}

@end
